package com.friday.bean;

public class Orderdtl {

    public Integer id;
    public Integer order_id;
    public Integer goods_id;
    public Integer quantity;
    public float price;
    public Integer plant_id;

    public Orderdtl(Integer id, Integer order_id, Integer goods_id, Integer quantity, float price, Integer plant_id) {
        this.id = id;
        this.order_id = order_id;
        this.goods_id = goods_id;
        this.quantity = quantity;
        this.price = price;
        this.plant_id = plant_id;
    }

    public Orderdtl() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public Integer getPlant_id() {
        return plant_id;
    }

    public void setPlant_id(Integer plant_id) {
        this.plant_id = plant_id;
    }

    @Override
    public String toString() {
        return "Orderdtl{" +
                "id=" + id +
                ", order_id=" + order_id +
                ", goods_id=" + goods_id +
                ", quantity=" + quantity +
                ", price=" + price +
                ", plant_id=" + plant_id +
                '}';
    }
}
